﻿using FriendStar.Code;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using FriendStar.Application.BaseData;
using FriendStar.Domain.Entity.BaseData;

namespace FriendStar.Web.Areas.BaseData
{
    public class ZSJ_22_TP_PalletController : ControllerBase
    {
        //托盘
        // GET: /BaseData/ZSJ_22_TP_Pallet/
        private ZSJ_22_TP_PalletApp dutyApp = new ZSJ_22_TP_PalletApp();

        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson()
        {
            var data = dutyApp.GetList(Configs.GetValue("UseUnit"));
            return Content(data.ToJson());
        }
    }
}
